package com.cn.bukeManage.dao;

import java.util.List;

import com.cn.bukeManage.pojo.Coupons;
import com.cn.bukeManage.pojo.page.CouponsPage;
import com.cn.bukeManage.pojo.page.Page;

public interface CouponDao {

	List<Coupons> getAllCoupons(Page page);

	Integer getAllRowsOfCoupons();

	Integer addNewCoupon(Coupons coupons);

	Integer updateCoupons(Coupons coupons);

	List<Coupons> getAllCouponsByForWho(CouponsPage page);

	Integer getAllRowsOfCouponsByForWho(CouponsPage page);

	Coupons getCouponsById(Integer couponsId);
	
}
